package com.coe.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="t_user")
public class User {

	
	    private int uid;
	    
	    private String userName;
	    
	    private String password;

	     @Id
		public int getUid() {
			return uid;
		}

		public void setUid(int uid) {
			this.uid = uid;
		}

		 @Column(length=25)
		public String getUserName() {
			return userName;
		}

		public void setUserName(String userName) {
			this.userName = userName;
		}

		@Column(length=25)
		public String getPassword() {
			return password;
		}

		public void setPassword(String password) {
			this.password = password;
		}
}
